inline bool& FogState::enabled()
{
	return m_enabled;
}

inline Real& FogState::start()
{
	return m_start;
}

inline Real& FogState::end()
{
	return m_end;
}

inline Real& FogState::density()
{
	return m_density;
}

inline Color& FogState::color()
{
	return m_color;
}

inline FogState::DensityFunction& FogState::dfunction()
{
	return m_dfunction;
}

inline FogState::ApplyFunction& FogState::afunction()
{
	return m_afunction;
}